﻿using System;
using System.Web.Security;
using CodeFirstMVC3.Domain.Model;

namespace CodeFirstMVC3.Web.Infrastructure
{
    public interface IMemberProvider
    {
        ISitePrincipal GetMember();

        void SignIn(IMember member, bool createPersistentCookie);

        void SignOut();

        MembershipCreateStatus Validate(IMember member);

        bool ChangePassword(string p, string p_2, string p_3);
    }
}